Previous | Next | Trail Map | Creating a User Interface | Using Layout Managers


FlowLayout

The panels in the CardLayout example use FlowLayouts. Since FlowLayout is the default layout manager for Panels, The CardLayout example doesn't explicitly set the layout manager.

Here's the CardLayout example, running as an applet:


Previous | Next | Trail Map | Creating a User Interface | Using Layout Managers